package com.chenjf.orderservice;

import com.chenjf.order.dto.OrderDto;
import com.chenjf.order.fegin.OrderOpenFeign;

import org.springframework.web.bind.annotation.RequestBody;
import org.springframework.web.bind.annotation.RestController;

@RestController
public class OrderController implements OrderOpenFeign {
    @Override
    public String userOrders() {
        return "response user orderList";
    }

    @Override
    public String orderInfo(@RequestBody OrderDto orderDto) {
        return orderDto.toString();
    }
}
